<template>
  <div class="inqu-result" v-if="isShow">
    <img src="~$img/public/submission.png"
    alt="暂无数据"
    :class="{'imgMargin':isMargin}"
    >
    <p>{{NoData}}</p>
  </div>
</template>

<script>
export default {
  props: {
    NoData: {
      type: String,
      default: ''
    },
    isMargin: {
      type: Boolean,
      default: false
    },
    isShow: {
      type: Boolean,
      default: true
    }
  }
}
</script>

<style lang="scss" scoped>
.inqu-result {
  img {
    display: block;
    margin: 4rem auto 0;
  }
  .imgMargin {
    margin: 9rem auto 0;
  }
  p {
    margin-top: 1rem;
    font-size: .9rem;
    font-family: PingFangSC-Medium;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    font-weight: 600;
  }
}
</style>
